<%-- 
    Document   : principal
    Created on : Apr 27, 2012, 10:08:43 AM
    Author     : Afonso Rodrigues
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Trabalho Carrinho</title>
    </head>
    <body background="../img/fundo.jpg">

        <div id="top">
            <c:import url="../templates/tempCab.jsp"/> 
        </div>

        <div> 
            
            <br><br><br><br><br>
            <br><br><br><br><br>
            <fieldset>
                <form name="login" action="../FluxoServlet">
                    <%String login = (String) session.getAttribute("login");%>
                    <% if ("invalido".equals(login)) {%>
                    <h5>Login inválido</h5>
                            <%}%>
                            <table border="0">
                                <tbody>
                                    <tr>
                                        <td>Login</td>
                                        <td><input type="text" name="login" value="" /></td>
                                    </tr>
                                    <tr>
                                        <td>Password</td>
                                        <td><input type="password" name="password" value="" /></td>
                                    </tr>
                                </tbody>
                            </table>
                            <input type="submit" value="logar" name="direcao" />
                            </form>
                            </fieldset>
                            </div>
                            
                            <br><br><br><br><br><br><br><br>
                            <br><br><br><br><br><br><br>
                            <br><br><br><br><br><br><br>
                            
                            <div id="bottom">
                                <c:import url="../templates/tempRoda.jsp"/> 
                            </div>
                                
                            </body>
                            
                            
                            </html>
